
////////////////////////////////////////////////////////////////
// filename: story.h
// description: header file for the story objects class
// author: Jay Tomten (jaytomten@gmail.com)
// notes:

// namespace

// defines
#ifndef __STORY__
#define __STORY__

#define STORY_1    6010
#define STORY_2    6011
#define STORY_3    6012
#define STORY_4    6013
#define STORY_5    6014
#define STORY_6    6015
#define STORY_7    6016
#define STORY_8    6017
#define STORY_WIN  6018

// includes
#include <GL/gl.h>
#include "line.h"
#include "color.h"
#include "object.h"

// globals

////////////////////////////////////////////////////////////////
// Story- definition of our story class
class Story: public Object {

public:

    Story();                                                    // constructor
    Story(int type, float x, float y, float z);                 // constructor that calls Init()
    ~Story();                                                   // destructor

    void Init(int type, float x, float y, float z);             // create our object
    bool Update(float d);                                       // update a story object
    void Draw();

private:

    Line v[30];                                                 // list of verticies for our object
    int size;                                                   // number of points
    Color col;                                                  // color of object
    float width;                                                // line width
    GLuint texture;                                             // texture holder
    float miracleGrow;                                          // used to grow our beautiful grass
    float seed;                                                 // psudo random grass height

};

#endif






